package com.ygsoft.tianlu_mall.pojo;

import java.util.Date;

public class Role {
    private Integer role_id;
    private String role_name; //角色标识 程序中判断使用,如"admin"
    private Date role_createTime;//角色创建时间
    private String description; //角色描述,UI界面显示使用
    private Boolean available = Boolean.FALSE; //是否可用,如果不可用将不会添加给用户

    public Role() {
    }

    public String getRoleName() {
        return role_name;
    }
    public Role(String role, String description, Boolean available) {
        this.role_name = role;
        this.description = description;
        this.available = available;
    }

    public Integer getRole_id() {
        return role_id;
    }

    public void setRole_id(Integer role_id) {
        this.role_id = role_id;
    }

    public String getRole_name() {
        return role_name;
    }

    public void setRole_name(String role_name) {
        this.role_name = role_name;
    }

    public Date getRole_createTime() {
        return role_createTime;
    }

    public void setRole_createTime(Date role_createTime) {
        this.role_createTime = role_createTime;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getAvailable() {
        return available;
    }

    public void setAvailable(Boolean available) {
        this.available = available;
    }
}
